//
//  ShareUser.m
//  RPay
//
//  Created by hzy on 2017/11/1.
//  Copyright © 2017年 Charlie. All rights reserved.
//

#import "ShareUser.h"

@implementation ShareUser
+ (instancetype)shareUser{
    static dispatch_once_t once;
    static ShareUser *instance;
    dispatch_once(&once, ^ {
        instance = [[ShareUser alloc] init];
    });
    return instance;
}
-(void)setUserId:(int64_t)userId userName:(NSString *)userName token:(NSString *)token rhAccount:(double)rhAccount{

    [ShareUser shareUser].userId = userId;
    [ShareUser shareUser].userName = userName;
    [ShareUser shareUser].token = token;
    [ShareUser shareUser].rhAccount = rhAccount;
}
@end
